package com.ld.security.auth.common;

import com.ld.security.auth.common.config.FeignConfig;
import com.ld.security.auth.common.impl.ApiLogQueueImpl;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@ComponentScan
@Import({
        FeignConfig.class,
})
@EnableFeignClients
public class AuthCommonConfig {

    @Bean
    public ApiLogQueueImpl ApiLogQueueImpl(){
        return new ApiLogQueueImpl();

    }

}
